dvcenv – A Device Model Test Environment for a Full Computer System Simulator
نویسنده
چکیده
A full computer system simulator models processors, memories and all other hardware observable by software. Implementing device models for such a simulator is time consuming and error prone. Documentation for devices tends to be less accurate than documentation for microprocessors. This master thesis presents a device model test framework, developed to make testing of such models against real hardware possible, and to allow an extensive test approach. A Linux kernel module gives the tests access to physical memory, I/O and PCI configuration space, and make it possible to catch interrupts and wait for DMA transfers. Tests are written in a custom test language, and are compiled to be interpreted by the kernel module. The same tests were performed on the simulated device model and the real hardware. The kernel module together with some utility programs makes it possible to save traces of the tests and compare differences between the tests with different levels of granularity to find and report errors. The device model test environment has turned out to be good for testingand implementation of device models, but also as a support tool for device driver writers. The system is easy to extend with new device standards and to port to other architectures.
منابع مشابه
Large Lithium Polymer Battery Modeling for the Simulation of Hybrid Electric Vehicles Using the Equivalent Circuit Method
In the present study, a model of a large Lithium Polymer (Li-Po) battery for use in the simulation of Hybrid Electric Vehicles (HEVs) is developed. To attain this goal, an Equivalent Circuit (EC) consisting of a series resistor and two RC parallel networks is considered. The accuracy and the response time of the model for use in an HEV simulator are studied. The battery parameters identifica...
متن کاملRobust Controller Design Based-on Aerodynamic Load Simulator Identification Driven by PMSM for Hardware-in-the-Loop Simulations
Aerodynamic load simulators generate the required time varying load to test the actuator’s performance in the laboratory. Electric Load Simulator (ELS) as one of variety of the dynamic load simulators should follows the rotation of the Under Test Actuator (UTA) and applies the desired torque to UTA’s rotor at the same time. In such a situation, a very large torque is imposed to the ELS from the...
متن کاملRobust Attitude Control of Spacecraft Simulator with External Disturbances
The spacecraft simulator robust control through H∞-based linear matrix inequality (LMI) and robust adaptive method is implemented. The spacecraft attitude control subsystem simulator consists of a platform, an air-bearing and a set of four reaction wheels. This set up provides a free real-time three degree of freedom rotation. Spacecraft simulators are applied in upgrading and checking the c...
متن کاملA Retargetable Full System Simulator for Thin Client Platform
There are varieties of hardware designs in high-end embedded systems, and the applications on it cover embedded areas and low-end desktop areas. Thin client is a typical high-embedded system in client/server and browser/server environment, which combines local and remote computing resources. This paper presents the design and implementation of Unichos, a full system simulator for thin client pl...
متن کاملIntelligent Traffic Management System for Prioritizing Emergency Vehicles in a Smart City (TECHNICAL NOTE)
Traffic congestion worldwide has led to loss of human lives due to failure in transporting accident victims, critical patients, medical equipment and medicines on time. With the unending growth in vehicular traffic everywhere, Internet of Things (IOT) and Vehicular Ad Hoc Network (VANET) have embarked as a promising platform for an Intelligent Traffic Management System (ITMS). Many researches h...
متن کامل